import request from "@/utils/request";

export default ({
  //支付
  getLogCount() {
    return request({
      url: `/order/paylog/count`,
      method: 'get'
    })
  },
  getOrderCount() {
    return request({
      url: `/order/pcorderinfo/count`,
      method: 'get'
    })
  },

  //用户
  getAdminCount() {
    return request({
      url: `/user/admin/count`,
      method: 'get'
    })
  },


  getUserCount() {
    return request({
      url: `/user/pcuserinfo/count`,
      method: 'get',
    })
  },
//航班
  getPlaneCount() {
    return request({
      url: `/pc/plane/sellerCount`,
      method: 'get'
    })
  },
  //未支付  已支付 剩余支付
  getPieCount() {
    return request({
      url: `/order/pcorderinfo/PieCount`,
      method: 'get'
    })
  },

  getBaseCount() {
    return request({
      url: `/pc/plane/count`,
      method: 'get',
    })
  },
  getTransferCount() {
    return request({
      url: `/pc/transfer/count`,
      method: 'get',
    })
  },
  getConnectingCount() {
    return request({
      url: `/pc/connecting/count`,
      method: 'get',
    })
  },
})
